<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改参会名单')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-participant-edit" th:object="${conferenceParticipant}">
            <input name="participantId" th:field="*{participantId}" type="hidden">
            <!--<div class="form-group">
                <label class="col-sm-3 control-label is-required">填报进度ID：</label>
                <div class="col-sm-8">
                    <input name="progressId" th:field="*{progressId}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">会议安排ID：</label>
                <div class="col-sm-8">
                    <input name="arrangeId" th:field="*{arrangeId}" class="form-control" type="text" required>
                </div>
            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">参会单位：</label>
                <div class="col-sm-8">
                    <input name="participantDept" th:field="*{participantDept}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">职务：</label>
                <div class="col-sm-8">
                    <input name="participantPost" th:field="*{participantPost}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">参会人员：</label>
                <div class="col-sm-8">
                    <input name="participantUser" th:field="*{participantUser}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">联系方式：</label>
                <div class="col-sm-8">
                    <input name="participantPhone" th:field="*{participantPhone}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="remark" th:field="*{remark}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "conference/participant";
        $("#form-participant-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-participant-edit').serialize());
            }
        }
    </script>
</body>
</html>